home *** CD-ROM | disk | FTP | other *** search
- class Class.Bullet_jump extends MovieClip
- {
- var Vg;
- var V_jumpY;
- var Vx;
- var onEnterFrame;
- var inHit = false;
- function Bullet_jump()
- {
- super();
- this.Vg = _root.Vg;
- this.V_jumpY = -5;
- this.Vx = 2;
- this.jump2();
- _root.bulletNow_jump = this;
- }
- function jump1()
- {
- this.play();
- }
- function jump2()
- {
- this.onEnterFrame = function()
- {
- this._x += this.Vx;
- this._y += this.V_jumpY;
- this.V_jumpY += this.Vg;
- };
- }
- function stopMove()
- {
- delete this.onEnterFrame;
- this._visible = false;
- }
- }
-